<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8" />
	<meta content='True' name='HandheldFriendly' />
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
	<title>{{ site.title }} › 后台 › New Node</title>
	<link rel="stylesheet" type="text/css" media="screen"  href="/static/css/mobile/style.css?v={{ system_version }}" />
	<link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
	{% include 'common/top.html' %}
    <div id="Main">
		<div class="section"><a href="/" class="black">{{ site.title }}</a> › <a href="/backstage" class="black">后台</a> › <a href="/backstage/section/{{ section.name }}" class="black">{{ section.title }}</a> › {{ node.title }} › 编辑节点</div>
		<div class="cell">
			<form action="/backstage/node/{{ node.name }}" method="post">
			{% if errors %}
			<strong>请解决以下错误之后继续。</strong>
			<div class="sep10"></div>
			<ul>
				{% if node_name_error %}
				<li>{{ node_name_error_message }}</li>
				{% endif %}
				{% if node_title_error %}
				<li>{{ node_title_error_message }}</li>
				{% endif %}
				{% if node_title_alternative_error %}
				<li>{{ node_title_alternative_error_message }}</li>
				{% endif %}
			</ul>
			<div class="sep5"></div>
			{% endif %}
			<table cellpadding="5" cellspacing="0" border="0">
			    <tr>
			        <td width="80" align="right">
			            节点名
			        </td>
			        <td width="200" align="left">
			            <input type="text" class="sl" name="name" value="{{ node_name|escape }}" />
			        </td>
			    </tr>
			    <tr>
			        <td width="80" align="right">
			            节点标题
			        </td>
			        <td width="200" align="left">
			            <input type="text" class="sl" name="title" value="{{ node_title|escape }}" />
			        </td>
			    </tr>
			    <tr>
			        <td width="80" align="right">
			            节点副标题
			        </td>
			        <td width="200" align="left">
			            <input type="text" class="sl" name="title_alternative" value="{{ node_title_alternative|escape }}" />
			        </td>
			    </tr>
			    <tr>
			        <td width="80" align="right">
			            节点开放分类
			        </td>
			        <td width="200" align="left">
			            <input type="text" class="sl" name="category" value="{{ node_category|escape }}" />
			        </td>
			    </tr>
                <tr>
			        <td width="80" align="right">
			            节点头部信息
			        </td>
			        <td width="200" align="left">
			            <textarea class="mll" name="header">{{ node_header|escape }}</textarea>
			        </td>
			    </tr>
			    <tr>
			        <td width="80" align="right">
			            节点尾部信息
			        </td>
			        <td width="200" align="left">
			            <textarea class="mll" name="footer">{{ node_footer|escape }}</textarea>
			        </td>
			    </tr>
			    <tr>
			        <td width="80" align="right">
			            节点主题数
			        </td>
			        <td width="200" align="left">
			            <strong>{{ node_topics }}</strong>
			        </td>
			    </tr>
                
                <tr>
			        <td width="80" align="right">
			        </td>
			        <td width="200" align="left">
			            <input type="submit" value="Modify" />
			        </td>
			    </tr>
			    
			</table>
			</form>
		</div>
	</div>
	{% include 'common/bottom.html' %}
</body>
</html>